package com.example.sourcecodelearning.modules.zendesk.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@Schema(title = "WebSupportRmaRequest", description = "技术支持FAQ查询参数")
public class WebSupportRmaRequest {

    @NotEmpty
    @Schema(title = "地域")
    private String region;

    @NotEmpty
    @Schema(title = "地域编码")
    private String regionCode;

    @NotEmpty
    @Schema(title = "国家")
    private String country;

    @NotEmpty
    @Schema(title = "姓名")
    private String name;

    @Schema(title = "邮件地址")
    private String mailAddress;

    @Schema(title = "住址")
    private String address;

    @Schema(title = "手机号码")
    private String phoneNo;

    @Schema(title = "产品类型")
    private String productType;

    @Schema(title = "产品速度")
    private String productSpeed;

    @Schema(title = "产品容量")
    private String productCapacity;

    @Schema(title = "生产日期")
    private String purchaseDate;

    @Schema(title = "数量")
    private String quantity;

    @Schema(title = "文件")
    @JSONField(serialize = false)
    private MultipartFile file;

    @Schema(title = "困难")
    private String troubles;

    @Schema(title = "问题")
    private String issue;

}
